libxl: unset info->numa_placement upon successful placement
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 1 Jul 2015 14:03:14 +0000 (16:03 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 3 Jul 2015 10:11:26 +0000 (11:11 +0100)
commit667282c356f4278a4fcfcd00e22610f62e6674f5
tree086a52bd5e6b48b39dec237f43d332077180a8dd
parent814e4640353c5aea5ab76c80d6711c46cc506001
libxl: unset info->numa_placement upon successful placement

so that, if the same config is reused later, the following
two (good) things happen:
 - we do not trip over warnings because node and/or vcpu
   soft affinity now exist (as a consequence of the
   successful placement), but numa_placement is still
   true;
 - we end up always using the results of the original
   execution of the placement algorithm, rather than
   re-running it at each re-use of the same config,
   which is what most users expects and wants.

This fixes the bug reported here:
http://lists.xenproject.org/archives/html/xen-devel/2015-06/msg04454.html

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dom.c